/* printtest.c
 *	Test for PrintOut Syscall
 *	
 */
 
#include "syscall.h"

void Test1();
void Test2();
void Test3();
void (*test3)(void);


int printLock = 0; /*testing with the lock*/

int main(int argc, char **argv)
{
	printLock = CreateLock(0);
	/*Acquire(printLock);*/
	PrintOut("test1 starting!!!!!!!!!!!!!!!!\n\n", 32);
	Test1();
	PrintOut("test2 starting****************\n\n", 32); 
	Test2();
	/*Release(printLock);*/
}

void Test1()
{
	PrintOut("123456789012345678901234567890\n\n", 32); 
}

void Test2(){
	PrintOut("abcdefghijklmnopqrstuvwxyz\n\n", 28); 
	PrintOut("test3 starting................\n\n", 32); 
	/*test3 = &Test3;
	Fork(test3);*/
}

void Test3(){
	PrintOut("Charlene is Here~~~~~~~~~~~~~~\n\n", 32); 
}